package com.lcredu.spring.component;

import com.lcredu.spring.annotation.Component;
import com.lcredu.spring.processe.InitializingBean;

/**
 * @author 黎长容
 * @date 2025-07-16 15:29
 */
@Component
public class MonsterDao implements InitializingBean {
    
    public void hi(){
        System.out.println("MonsterDao--hi()");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("MonsterDao---初始化方法");
    }
}
